package cn.vcjf.washcar.server.entity;

import cn.vcjf.washcar.common.web.PageModel;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;

/**
 * <p>
 *
 * </p>
 *
 * @author zhengzihang
 * @since 2018-07-18
 */
@TableName("service_time")
public class ServiceTime extends PageModel {

	private static final long serialVersionUID = 1L;

	private Integer id;

	/**
	 * 日期(0今天,1明天,2后天.....)
	 */
	private Integer date;

	/**
	 * 开始时间
	 */
//    @DateTimeFormat(pattern="HH:mm:ss")
	private String startTime;

	/**
	 * 结束时间
	 */
	private String endTime;

	/**
	 * 状态
	 */
	private Integer status;

	/********非数据库字段*******/
	@TableField(exist = false)
	private String startTimeBegDate;
	@TableField(exist = false)
	private String startTimeEndDate;
	@TableField(exist = false)
	private String endTimeBegDate;
	@TableField(exist = false)
	private String endTimeEndDate;

	public String getStartTimeBegDate() {
		return startTimeBegDate;
	}

	public void setStartTimeBegDate(String startTimeBegDate) {
		this.startTimeBegDate = startTimeBegDate;
	}

	public String getStartTimeEndDate() {
		return startTimeEndDate;
	}

	public void setStartTimeEndDate(String startTimeEndDate) {
		this.startTimeEndDate = startTimeEndDate;
	}

	public String getEndTimeBegDate() {
		return endTimeBegDate;
	}

	public void setEndTimeBegDate(String endTimeBegDate) {
		this.endTimeBegDate = endTimeBegDate;
	}

	public String getEndTimeEndDate() {
		return endTimeEndDate;
	}

	public void setEndTimeEndDate(String endTimeEndDate) {
		this.endTimeEndDate = endTimeEndDate;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getDate() {
		return date;
	}

	public void setDate(Integer date) {
		this.date = date;
	}

	public String getStartTime() {
		return startTime;
	}

	public void setStartTime(String startTime) {
		this.startTime = startTime;
	}

	public String getEndTime() {
		return endTime;
	}

	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	@Override
	public void preInsert() {
		super.preInsert();
	}

	@Override
	public void preUpdate() {
		super.preUpdate();
	}

	@Override
	public String toString() {
		return "ServiceTime{" +
				"id=" + id +
				", date=" + date +
				", startTime=" + startTime +
				", endTime=" + endTime +
				", status=" + status +
				", createUser=" + createUser +
				", createTime=" + createTime +
				", updateUser=" + updateUser +
				", updateTime=" + updateTime +
				", deleteFlag=" + deleteFlag +
				"}";
	}
}
